[INFO] cloning repository https://github.com/itbaiyang/rust-book
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/itbaiyang/rust-book" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitbaiyang%2Frust-book", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitbaiyang%2Frust-book'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d30d219e0e460fdcabbf62517b3aba374ef2dfd0
[INFO] fixing itbaiyang/rust-book against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fitbaiyang%2Frust-book" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/itbaiyang/rust-book
[INFO] finished tweaking git repo https://github.com/itbaiyang/rust-book
[INFO] tweaked toml for git repo https://github.com/itbaiyang/rust-book written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/itbaiyang/rust-book on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/itbaiyang/rust-book already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] b77ed08a1ab0e8f6b89ffcf0ea0a44b262ff180773bebb4e76e03852e54c2c29
[INFO] running `Command { std: "docker" "start" "b77ed08a1ab0e8f6b89ffcf0ea0a44b262ff180773bebb4e76e03852e54c2c29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b77ed08a1ab0e8f6b89ffcf0ea0a44b262ff180773bebb4e76e03852e54c2c29" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b77ed08a1ab0e8f6b89ffcf0ea0a44b262ff180773bebb4e76e03852e54c2c29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "b77ed08a1ab0e8f6b89ffcf0ea0a44b262ff180773bebb4e76e03852e54c2c29" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]     Checking book v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: fields `id` and `is_good` are never read
[INFO] [stdout]  --> src/struct_m/struct_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct User {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 3 |     name: String,
[INFO] [stdout] 4 |     id: i32,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 5 |     is_good: bool
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stdout]  --> src/enum_m/enum_test.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(u8,u8,u8,u8),
[INFO] [stdout]   |     -- ^^ ^^ ^^ ^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 3 -     V4(u8,u8,u8,u8),
[INFO] [stdout] 3 +     V4((),(),(),()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/enum_m/enum_test.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 -     V6(String),
[INFO] [stdout] 4 +     V6(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `y` is never read
[INFO] [stdout]   --> src/t_m/t_test.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct Point<T,U> {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 36 |     x: T,
[INFO] [stdout] 37 |     y: U,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/ref_m/enum_list.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |   Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout]    |   ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 13 -   Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout] 13 +   Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/ref_m/ref_list.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 |   Cir(i32, RefCell<Rc<CirList>>),
[INFO] [stdout]   |   --- ^^^
[INFO] [stdout]   |   |
[INFO] [stdout]   |   field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CirList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -   Cir(i32, RefCell<Rc<CirList>>),
[INFO] [stdout] 7 +   Cir((), RefCell<Rc<CirList>>),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]   --> src/ref_m/tree_list.rs:8:3
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout]  8 |   value: i32,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]  9 |   parent: RefCell<Weak<Node>>,
[INFO] [stdout] 10 |   children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width`, `height`, and `label` are never read
[INFO] [stdout]   --> src/oop_m/oop_trait.rs:39:3
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Button {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 39 |   width: u32,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 40 |   height: u32,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 41 |   label: String,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Button` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width`, `height`, and `options` are never read
[INFO] [stdout]   --> src/oop_m/oop_trait.rs:51:3
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct SelectBox {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 51 |   width: u32,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 52 |   height: u32,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 53 |   options: Vec<String>,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SelectBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `split_at_mut` is never used
[INFO] [stdout]   --> src/advanced_m/unsafe_init.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn split_at_mut(slice: &mut [i32], mid: usize) -> (&mut [i32], &mut [i32]) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/advanced_m/unsafe_init.rs:94:29
[INFO] [stdout]    |
[INFO] [stdout] 94 |     println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                             ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `id` and `is_good` are never read
[INFO] [stdout]  --> src/struct_m/struct_test.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | struct User {
[INFO] [stdout]   |        ---- fields in this struct
[INFO] [stdout] 3 |     name: String,
[INFO] [stdout] 4 |     id: i32,
[INFO] [stdout]   |     ^^
[INFO] [stdout] 5 |     is_good: bool
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `User` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0`, `1`, `2`, and `3` are never read
[INFO] [stdout]  --> src/enum_m/enum_test.rs:3:8
[INFO] [stdout]   |
[INFO] [stdout] 3 |     V4(u8,u8,u8,u8),
[INFO] [stdout]   |     -- ^^ ^^ ^^ ^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     fields in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]   |
[INFO] [stdout] 3 -     V4(u8,u8,u8,u8),
[INFO] [stdout] 3 +     V4((),(),(),()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/enum_m/enum_test.rs:4:8
[INFO] [stdout]   |
[INFO] [stdout] 4 |     V6(String),
[INFO] [stdout]   |     -- ^^^^^^
[INFO] [stdout]   |     |
[INFO] [stdout]   |     field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `IpAddr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 4 -     V6(String),
[INFO] [stdout] 4 +     V6(()),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `y` is never read
[INFO] [stdout]   --> src/t_m/t_test.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 35 | struct Point<T,U> {
[INFO] [stdout]    |        ----- field in this struct
[INFO] [stdout] 36 |     x: T,
[INFO] [stdout] 37 |     y: U,
[INFO] [stdout]    |     ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Point` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `0` and `1` are never read
[INFO] [stdout]   --> src/ref_m/enum_list.rs:13:8
[INFO] [stdout]    |
[INFO] [stdout] 13 |   Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout]    |   ---- ^^^^^^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]    |   |
[INFO] [stdout]    |   fields in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields
[INFO] [stdout]    |
[INFO] [stdout] 13 -   Cons(Rc<RefCell<i32>>, Rc<List>),
[INFO] [stdout] 13 +   Cons((), ()),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]  --> src/ref_m/ref_list.rs:7:7
[INFO] [stdout]   |
[INFO] [stdout] 7 |   Cir(i32, RefCell<Rc<CirList>>),
[INFO] [stdout]   |   --- ^^^
[INFO] [stdout]   |   |
[INFO] [stdout]   |   field in this variant
[INFO] [stdout]   |
[INFO] [stdout]   = note: `CirList` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]   |
[INFO] [stdout] 7 -   Cir(i32, RefCell<Rc<CirList>>),
[INFO] [stdout] 7 +   Cir((), RefCell<Rc<CirList>>),
[INFO] [stdout]   |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `value` and `children` are never read
[INFO] [stdout]   --> src/ref_m/tree_list.rs:8:3
[INFO] [stdout]    |
[INFO] [stdout]  7 | struct Node {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout]  8 |   value: i32,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]  9 |   parent: RefCell<Weak<Node>>,
[INFO] [stdout] 10 |   children: RefCell<Vec<Rc<Node>>>,
[INFO] [stdout]    |   ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width`, `height`, and `label` are never read
[INFO] [stdout]   --> src/oop_m/oop_trait.rs:39:3
[INFO] [stdout]    |
[INFO] [stdout] 38 | struct Button {
[INFO] [stdout]    |        ------ fields in this struct
[INFO] [stdout] 39 |   width: u32,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 40 |   height: u32,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 41 |   label: String,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Button` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `width`, `height`, and `options` are never read
[INFO] [stdout]   --> src/oop_m/oop_trait.rs:51:3
[INFO] [stdout]    |
[INFO] [stdout] 50 | struct SelectBox {
[INFO] [stdout]    |        --------- fields in this struct
[INFO] [stdout] 51 |   width: u32,
[INFO] [stdout]    |   ^^^^^
[INFO] [stdout] 52 |   height: u32,
[INFO] [stdout]    |   ^^^^^^
[INFO] [stdout] 53 |   options: Vec<String>,
[INFO] [stdout]    |   ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SelectBox` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `split_at_mut` is never used
[INFO] [stdout]   --> src/advanced_m/unsafe_init.rs:58:4
[INFO] [stdout]    |
[INFO] [stdout] 58 | fn split_at_mut(slice: &mut [i32], mid: usize) -> (&mut [i32], &mut [i32]) {
[INFO] [stdout]    |    ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/advanced_m/unsafe_init.rs:94:29
[INFO] [stdout]    |
[INFO] [stdout] 94 |     println!("COUNTER: {}", COUNTER);
[INFO] [stdout]    |                             ^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.66s
[INFO] [stderr] crater-edition-check: all finished
[INFO] running `Command { std: "docker" "inspect" "b77ed08a1ab0e8f6b89ffcf0ea0a44b262ff180773bebb4e76e03852e54c2c29", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b77ed08a1ab0e8f6b89ffcf0ea0a44b262ff180773bebb4e76e03852e54c2c29", kill_on_drop: false }`
[INFO] [stdout] b77ed08a1ab0e8f6b89ffcf0ea0a44b262ff180773bebb4e76e03852e54c2c29
